import React from 'react'
import { history  } from 'umi'
export default function index() {
  console.log(localStorage.token);
  if(localStorage.token){
    history.push("/HomePages")
  }else{
    history.push("/login")
  }
    
  return (
    <div></div>
  )
}
